﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<asp:Repeater ID="Repeater1" runat="server" OnItemDataBound="Repeater1_ItemDataBound">
 <ItemTemplate>
     <table style="background:#FFFFFF; width: 344px;">
         <tr>
             <td colspan="3" style="height: 21px; text-align: left;">
                 <asp:HyperLink ID="hyp_sp" NavigateUrl="~/ChiTiet.aspx?id=" runat="server" style="vertical-align: bottom; text-align: left" Height="37px" Width="270px"><%#Eval("TenSP") %></asp:HyperLink></td>
         </tr>
         <tr>
             <td colspan="3" style="height: 21px; text-align: left;">
                 </td>
         </tr>
         <tr>
             <td colspan="3" style="text-align: left">
                 <asp:Image ID="img_hinhanh" runat="server" Height="186px" Width="269px" /></td>
         </tr>
         <tr>
             <td colspan="3">
                 <asp:Literal ID="lit_mota" runat="server"></asp:Literal></td>
         </tr>
         <tr>
             <td colspan="2" style="color: red; font-size: 15pt;">
                 <%#Eval("GiaBan") %> VND</td>
             <td rowspan="2" style="width: 114px;text-decoration:none" >
                
                     <asp:HyperLink ID="hyl_chitiet" runat="server" >Chi Tiết</asp:HyperLink>
                    </td>
         </tr>
         <tr>
             <td colspan="2" style="height: 23px">
                 Giá Gốc : <%#Eval("GiaGoc") %> VND</td>
         </tr>
         <tr style="background-color:#cccccc">
             <div><td style="width: 100px" align="center"><br />
                 Tiết kiệm<br><br><strong style="color:red;font-size:medium">77%</strong></td></div>
             <div><td style="width: 110px" align="center"><br />
                 Số người mua<br><br><strong style="color:red;font-size:medium"><%#Eval("SLBan") %></strong></td></div>
             <div><td style="width: 114px" align="center"><br />
                 Thời gian còn lại<br><br><strong style="color:red;font-size:medium">25 h 25 p 25 s</strong></td></div>
         </tr>
         <tr style="background-color:#cccccc">
             <td style="width: 100px; height: 40px" align="center">
                 <asp:Literal ID="lit_tietkiem2" runat="server"></asp:Literal></td>
             <td style="width: 110px; height: 40px" align="center">
                 <asp:Literal ID="lit_songuoimua2" runat="server"></asp:Literal></td>
             <td style="width: 114px; height: 40px" align="center">
                 <asp:Literal ID="lit_thoigianconlai" runat="server"></asp:Literal></td>
         </tr>
     </table>
 </ItemTemplate>
 </asp:Repeater>
</asp:Content>